package com.fpd.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * TODO
 *
 * @author jiangshuai
 * @version 1.0
 * @date 2020/11/4 16:15
 */
@Data
@ApiModel
public class JointlyRepetitionInfoVO {
    @ApiModelProperty(value = "源数据表主键id")
    private String id;

    @ApiModelProperty(value = "姓名")
    private String custName;

    @ApiModelProperty(value = "性别")
    private String custSex;// 性别（0：男；1：女；2：保密）

    @ApiModelProperty(value = "身份证号")
    private String custIdNumber;// 身份证号

    @ApiModelProperty(value = "联系方式")
    private String phoneNumber;// 手机号码

    @ApiModelProperty(value = "合同号")
    private String contractNumber;// 合同号

    @ApiModelProperty(value = "客户号")
    private String custNo;// 客户号

    @ApiModelProperty(value = "开始委案日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTimeCase;// 开始委案日期

    @ApiModelProperty(value = "结束委案日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date takeBackPlanTime;//结束委案日期

    @ApiModelProperty(value = "逾期天数")
    private int yuqiDay;// 逾期天数

    @ApiModelProperty(value = "逾期金额")
    private BigDecimal yuqiAmount;// 逾期金额

    @ApiModelProperty(value = "委托方")
    private String thirdParty;

    @ApiModelProperty(value = "委托方id")
    private String thirdPartyId;

    @ApiModelProperty(value = "客服真实姓名", example = "张三")
    private String truename;

    @ApiModelProperty(value = "所属分组名称", example = "")
    private String groupName;

    @ApiModelProperty(value = "还（回）款金额", example = "")
    private BigDecimal repaymentAmount;// 还款金额

    @ApiModelProperty(value = "剩余回款", example = "")
    private BigDecimal leftMoney;// 剩余回款

    //当前状态
    @ApiModelProperty(value = "跟进状态（0：即时跟进；1：逾期跟进）", example = "sql中已做判断")
    private String followState;

    @ApiModelProperty(value = "还款日期", example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date repaymentTime;

    @ApiModelProperty(value = "代偿还款人", example = "")
    private String reimbursementPayer;


    @ApiModelProperty(value = "是否还款", example = "repayment_amount还款金额大于0，说明还款")
    private String repaymentreimbursementPayer;

//    @ApiModelProperty(value = "是否还款", example = "废弃")
//    private String IsRepayment;

    @ApiModelProperty(value = "是否结清（0：否；1：是）", example = "")
    private String isSettleAccounts;

    @ApiModelProperty(value = "跟进时间", example = "")
    private String followTime;

    @ApiModelProperty(value = "跟进记录（备注）", example = "")
    private String followRecord;




    @ApiModelProperty(value = "合同号重复次数")
    private int repentNum;//合同号重复次数

    @ApiModelProperty(value = "共债次数",example = "共债（0：否；1：是）")
    private int jointly;

    @ApiModelProperty(value = "跟进结果", example = "也就是客服每次跟进的记录")
    private String followResult;//跟进结果

    @ApiModelProperty(value = "委托方名称", example = "委托方名称")
    private String entrustName;
}
